﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Matriculas_Pessoa : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void ods_Pessoa_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
    {
        e.InputParameters["PESSOA_ID"] = pessoa_id.Text;
        e.InputParameters["PES_CPF"] = pes_cpf.Text;
        e.InputParameters["PES_NOME"] = pes_nome.Text;
        e.InputParameters["PES_DTNASCIMENTO"] = pes_dtnascimento.SelectedDate.ToString();
        e.InputParameters["ORDER_BY_CLAUSE"] = rcb_orderBy.SelectedValue;
    }
    protected void rapGrid_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
    {
        rdg_Pessoa.DataSourceID = ods_Pessoa.ID;
        rdg_Pessoa.DataBind();
    }
    protected void rdg_Pessoa_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {

    }
    protected void rdg_Pessoa_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
}